package org.chen.hotel.feign;

import org.chen.common.hotel.dto.HotelApiConfigDTO;
import org.chen.common.result.ResultVO;
import org.chen.hotel.feign.fallback.SystemFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "data-system" , fallback = SystemFeignFallback.class)
public interface SystemClient {
    @GetMapping("/hotel/api-config")
    ResultVO<HotelApiConfigDTO> getHotelApiConfig();
}
